//
//  HNEffectCache.h
//  HeroNuts
//
//  Created by Vicky on 6/7/11.
//  Copyright 2011 Tongji University. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface HNEffectCache : NSObject {
    NSMutableDictionary *effects_;
}

+ (id)sharedEffectCache;
- (void)addEffectWithFile:(NSString*)plist;
- (id)objectFromJson:(NSString*)json key:(NSString*)key;
- (id)effectByName:(NSString *)effect;
- (NSString *)firstFrameNameOfEffect:(NSString *)effect;
- (CGPoint)originalPositionOfEffect:(NSString *)effect;
@end
